//
//  Order_Cell.m
//  car
//
//  Created by chenxu on 15/3/21.
//  Copyright (c) 2015年 chenxu. All rights reserved.
//

#import "Order_Cell.h"

@implementation Order_Cell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)configWithOrder:(Order*)order{
    if (order) {
        _orderid.text = order.Orderid;
        _responseTime.text = order.Time;
    }
}

- (void)layoutSubviews{
    [super layoutSubviews];
//    CGMutablePathRef pathRef=CGPathCreateMutable();
//    CGPathMoveToPoint(pathRef, NULL, 4, 4);
//    CGPathAddLineToPoint(pathRef, NULL, 4, 8);
//    CGPathAddLineToPoint(pathRef, NULL, 10, 4);
//    CGPathAddLineToPoint(pathRef, NULL, 4, 4);
//    CGPathCloseSubpath(pathRef);
//    
}

+ (CGFloat)cellHeight{
    return 102;
}

@end
